package me.hys.service.company.impl;

import java.util.List;

import me.hys.bo.company.HotEntity;
import me.hys.dao.company.IHotMapper;
import me.hys.service.company.IHotManager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Author: @author HYS . <br>
 * Date: 2015-12-25 下午9:42:55 . <br>
 * Function:
 */
@Service
@Transactional
class HotManagerImpl implements IHotManager {
	@Autowired
	private IHotMapper mapper;

	@Override
	public List<HotEntity> findLatest(String userId) {
		return mapper.findLatest(userId);
	}
}
